<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2018/8/14
 * Time: 16:38
 */

namespace app\index\validate;


class ProductBannerValidate extends BaseValidate
{
    protected $rule = [
        'banner_id' => 'require|isPositiveInt',
        'product_name' => 'require|max:30',
        'status' => 'require|zeroOrOne',
        'primary_key' => 'isPositiveInt'
    ];
}